package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TAppBalance;

/**
 * 余额Service接口
 * 
 * @author ruoyi
 * @date 2025-04-23
 */
public interface ITAppBalanceService 
{
    /**
     * 查询余额
     * 
     * @param id 余额主键
     * @return 余额
     */
    public TAppBalance selectTAppBalanceById(Long id);

    /**
     * 查询余额列表
     * 
     * @param tAppBalance 余额
     * @return 余额集合
     */
    public List<TAppBalance> selectTAppBalanceList(TAppBalance tAppBalance);

    /**
     * 新增余额
     * 
     * @param tAppBalance 余额
     * @return 结果
     */
    public int insertTAppBalance(TAppBalance tAppBalance);

    /**
     * 修改余额
     * 
     * @param tAppBalance 余额
     * @return 结果
     */
    public int updateTAppBalance(TAppBalance tAppBalance);

    /**
     * 批量删除余额
     * 
     * @param ids 需要删除的余额主键集合
     * @return 结果
     */
    public int deleteTAppBalanceByIds(Long[] ids);

    /**
     * 删除余额信息
     * 
     * @param id 余额主键
     * @return 结果
     */
    public int deleteTAppBalanceById(Long id);

    public int importTAppBalances(List<TAppBalance> tAppBalances);
}
